package cn.tedu.sp1.Service;

import cn.tedu.sp1.entity.Item;
import org.springframework.stereotype.Service;

import java.util.List;

public interface ItemService {
    /*获取订单商品列表*/
    List<Item> getItems(String orderId);
    //List<Item> getItem(String orderId);
    /*减少商品库存*/
    void decreaseNumber(List<Item> items );

}
